<template>
    <div class="app">
        <div class="header">
            <div class="title">
                <div class="name">曹灿杯</div>
                <div class="author">作者:曹灿杯</div>
            </div>
        </div>
        <div class="detail">欢迎来到曹灿杯</div>
    </div>
</template>

<script>
    var that = null
    export default {
        data() {
            return this.datainit({

            })
        },
        onShow() {
            that = this
            that.check()

        },
        methods: {
            init() {

            }
        }
    }
</script>

<style scoped lang="less">
    .header{
        width:100%;
        .title{
            position: relative;
            width: 100%;
            height: 75px;
            .name{
                text-align: center;
                line-height: 50px;
                font-size: 18px;
                font-weight: bold;
            }
            .author{
                position: absolute;
                bottom: 0;
                font-size: 14px;
                color: #999;
                left: 15px;
            }
        }
    }
    .detail{
        margin-top: 50px;
        padding: 10px;
    }
</style>

